package com.lindroy.jetpacknotes.navigation.navigationui.fragment

import android.os.Bundle
import android.widget.ArrayAdapter
import com.lindroy.jetpacknotes.R
import com.lindroy.jetpacknotes.base.BaseFragment
import kotlinx.android.synthetic.main.fragment_list.*

/**
 * @author Lin
 * @date 2021/12/31
 * @function
 */
class ListFragment : BaseFragment(R.layout.fragment_list) {
    override fun initView(savedInstanceState: Bundle?) {
        listView.adapter =
            ArrayAdapter(
                requireContext(),
                android.R.layout.simple_list_item_1,
                android.R.id.text1,
                (0..50).map { "标题$it" })
    }

    override fun initListener() {
    }
}